import request from '@/utils/request'

//  分页查询应用接口服务订阅表信息
export function handlePageList(query) {
  return request({
    url: '/api/esb/subscribe/service/page',
    method: 'post',
    data: query
  })
}

//  保存应用接口服务订阅表信息
export function handleSave(data) {
  return request({
    url: '/api/esb/subscribe/service/save',
    method: 'post',
    data: data
  })
}

//  删除应用接口服务订阅表信息
export function handleDelete(data) {
  return request({
    url: '/api/esb/subscribe/service/deleteById/' + data,
    method: 'get'
  })
}

//  列表查询应用接口服务订阅表数据
export function handleList(data) {
  return request({
    url: '/api/esb/subscribe/service/list',
    method: 'post',
    data: data
  })
}
